package com.mmdccj.yugu.service;

import com.github.pagehelper.PageInfo;
import com.mmdccj.yugu.dto.SocialInfoDto;

/**
 * @Author: MMDCCJ
 * @date: 2023-12-09 03:34
 */
public interface FollowService {
    public PageInfo<SocialInfoDto> getAllFollowByUserId(String userId, int currentPage);

    public PageInfo<SocialInfoDto> getAllFansByUserId(String userId, int currentPage);

    public boolean followUser(String followId, String followedId);

    public boolean checkFollow(String followerId, String followedId);

    public boolean unFollow(String followerId, String followedId);

}
